package com.zeroup.auto.app;

import android.app.Application;

import com.blankj.utilcode.util.Utils;
import com.zeroup.auto.utils.ClassUtiles;
import com.ven.assists.stepper.StepImpl;
import com.ven.assists.stepper.StepManager;

import java.util.List;

public class ZeroneAppliction extends Application {

    public static String HOST = "101.200.13.82:8012";

    public static String apiUrl = "http://"+HOST+"/prod-api/";

    @Override
    public void onCreate() {
        super.onCreate();
        Utils.init(this);
        List<Class> classList = ClassUtiles.getAllClassByInterface(this, StepImpl.class,"com.zeroup.auto.assists.step");
        for (Class cl:classList) {
            StepManager.INSTANCE.register(cl.getName());
        }
    }
}
